<template>
	<view class="indexdetailslist">
		<view class="indexdetailsitem">
			<text>商品图片</text>
			<image src="../../static/image/syzyimg01.png" mode=""></image>
		</view>
		<view class="indexdetailsitem">
			<text>商品名称</text>
			<text>某某某上衣</text>
		</view>
		<view class="indexdetailsitem">
			<text>单价</text>
			<text>¥299</text>
		</view>
		<view class="indexdetailsitem">
			<text>数量</text>
			<text>30</text>
		</view>
		<view class="indexdetailsitem">
			<text>总价</text>
			<text>¥300.00</text>
		</view>
		<view class="indexdetailsitem">
			<text>入库时间</text>
			<text>2021-09-10</text>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			
		},
		onLoad(option) {
			console.log(option.id)
		}
	}
</script>

<style>
.indexdetailslist{
	width: 90%;
	margin: 4% 5%;
}
.indexdetailsitem{
	border-bottom: 1px solid #e6e6e6;
	padding: 4% 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.indexdetailsitem text:nth-child(1){
	width: 160rpx;
	color: #313131;
}
.indexdetailsitem text:nth-child(2){
	font-size: 28rpx;
	width: 500rpx;
	color: #828282;
	text-align: right;
}
.indexdetailsitem image{
	width: 150rpx;
	height: 150rpx;
	border-radius: 20rpx;
}
</style>
